__GsEcJsonp.jsonpcallback_1(
'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="easycastPlayer_rMfU3u_doc" width="100%" height="100%" codebase="https://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab#version=10.0.12.36">	\
	<param name="movie" value="" />	\
    <param name="wmode" value="transparent" />	\
    <param name="quality" value="high" />	\
	<param name="bgcolor" value="#ffffff" />	\
	<param name="allowScriptAccess" value="always" />	\
	<param name="allowFullScreen" value="true" />	\
	<param name="flashvars" value="sc=0&entry=http%3A%2F%2F192.168.1.142%2Feasycast&code=${code}&bp=zh_CN&lang=zh_CN&live=true&nickName='+encodeURIComponent("${nickName}")+'&langPath=&httpMode=${httpMode}&group=${group}" />	\
	<embed src="svr/GenseePD.swf" quality="high" bgcolor="#ffffff" wmode="transparent" width="100%" height="100%" name="easycastPlayer_rMfU3u" align="middle"	play="true" loop="false" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash"	\
    flashvars="sc=0&entry=http%3A%2F%2F192.168.1.142%2Feasycast&code=${code}&bp=zh_CN&lang=zh_CN&live=true&nickName='+encodeURIComponent("${nickName}")+'&langPath=&httpMode=${httpMode}&group=${group}"	\
    pluginspage="http://www.adobe.com/go/getflashplayer">	\
	</embed></object>');

//widget outer
(function(window){
	//注册握手函数
	GsEc._inner_.widget.complete("doc", function(data){
			//get data.type
			//get data.objectId
			//get ...
		}, {type:"doc",objectId:"easycastPlayer_rMfU3u_doc"}, "");
	
	var room = GsEc.room("");
	room.bind("docchange", function(data){
		//FIXME:call flex/iframe 
		alert("docchange:\""+data+"\"]");
	});
	
})(window);

